# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo01
# Description:
# Author:       98745
# Date:         2019/2/28
#-------------------------------------------------------------------------------

f=[0,1]
for i in range(10):
    f.append(f[-1]+f[-2])
print(f)
n=int(input('请输入一个整数：'))
for i in range(n-2):
    f.append(f[-1] + f[-2])
print(f)
